﻿using Microsoft.EntityFrameworkCore;
using ZH.GPT.Domains.User.Response;
using ZH.GPT.Infrastructures.Entities;
using ZH.GPT.Infrastructures.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ZH.GPT.Infrastructures.Repositories.Interface
{
    /// <summary>
    /// 用户接口
    /// </summary>
    public interface IUserRepository
    {
        /// <summary>
        /// 获取用户名称
        /// </summary>
        /// <param name="id">用户id</param>
        /// <param name="dbOption">选择主从库</param>
        /// <returns></returns>
        public Task<UserPDTO> GetUserAsync(Guid id, DBOption dbOption);


        /// <summary>
        /// 批量新增
        /// </summary>
        /// <returns></returns>
        public Task<int> AddUserBatchTestAsync();
    }
}
